package syntaxtree;

import visitor.TypeVisitor;
import visitor.Visitor;

public abstract class AbstractNode {

	public void accept(Visitor visitor) {
		visitor.visit(this);
	}

	public Type accept(TypeVisitor visitor) {
		return visitor.visit(this);
	}
}
